package com.tenement.service;

import com.tenement.domain.TenementHouseClient;
import com.tenement.domain.TenementUser;
import com.tenement.utils.HoseOrClientVo;

import java.util.List;

/**
 * @ClassName : HouseOrClientService  //类名
 * @Description : ${description}  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-06-10 21:20  //时间
 */
public interface HouseOrClientService {

    List<TenementHouseClient> findAll(TenementHouseClient houseClient, Integer page, Integer limit);

    Long overCount(TenementHouseClient houseClient);

    int deleteById(String id, TenementUser user, String ip);

    int deleteAll(String[] ids, TenementUser user, String ip);

    int add(TenementHouseClient houseClient, TenementUser user, String ip);

    TenementHouseClient findById(String houseClientId);

    List<HoseOrClientVo> selectAll(TenementUser user);

    int showOne(String houseClientId, String userId);

    TenementHouseClient selectLatest();
}
